# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class JmrJobViewModel(object):

    def __init__(self, id=None, jobId=None, jobName=None, jobType=None, jobStatus=None, jobGroup=None, jobTrigger=None, cronExpression=None, orderBy=None, isSelfDependence=None, isVirtualTask=None, taskScheduleType=None, retryTimes=None, isSendMsg=None, userpin=None, createTime=None, location=None, params=None, dataCenter=None, clusterId=None, clusterName=None, clusterStatus=None):
        """
        :param id: (Optional) null
        :param jobId: (Optional) 作业ID
        :param jobName: (Optional) 作业名称
        :param jobType: (Optional) 作业类型
        :param jobStatus: (Optional) 作业状态
        :param jobGroup: (Optional) 作业组
        :param jobTrigger: (Optional) 作业触发器
        :param cronExpression: (Optional) 定时任务的时间
        :param orderBy: (Optional) 额外字段，可选
        :param isSelfDependence: (Optional) 
        :param isVirtualTask: (Optional) 
        :param taskScheduleType: (Optional) 
        :param retryTimes: (Optional) 作业重试次数
        :param isSendMsg: (Optional) 作业失败后是否发送短信通知
        :param userpin: (Optional) 用户名
        :param createTime: (Optional) 创建时间
        :param location: (Optional) 位置
        :param params: (Optional) 所需参数
        :param dataCenter: (Optional) 数据中心
        :param clusterId: (Optional) 集群ID
        :param clusterName: (Optional) 集群名称
        :param clusterStatus: (Optional) 额外字段
        """

        self.id = id
        self.jobId = jobId
        self.jobName = jobName
        self.jobType = jobType
        self.jobStatus = jobStatus
        self.jobGroup = jobGroup
        self.jobTrigger = jobTrigger
        self.cronExpression = cronExpression
        self.orderBy = orderBy
        self.isSelfDependence = isSelfDependence
        self.isVirtualTask = isVirtualTask
        self.taskScheduleType = taskScheduleType
        self.retryTimes = retryTimes
        self.isSendMsg = isSendMsg
        self.userpin = userpin
        self.createTime = createTime
        self.location = location
        self.params = params
        self.dataCenter = dataCenter
        self.clusterId = clusterId
        self.clusterName = clusterName
        self.clusterStatus = clusterStatus
